﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using WxxMail.Common;
using WxxMail.MVC.Factories;

namespace WxxMail.MVC.Controllers
{
    public class TableController : Controller
    {
        // GET: Table
        IAnswerFactory _answerFactory = new AnswerFactory();
        public ActionResult Index(AnswerRequest Request)
        {
            var answerListModel = _answerFactory.PrepareAnswerListModel(Request);
            return View(answerListModel);
        }
    }
}